<?php


namespace App\Models;


class SchoolCollectModel extends   BaseModel
{
    protected $tableName = 'school_collect';
    public  $addFiled = ['province','city','area','level','category','school_title','tax_number','mind_teacher','mind_tel','recheck_teacher','recheck_tel','need_device','not_finish_tel','uid','email','motor_room','computer_number'];
    public function getSchoolByTelInfo($tel){
        return $this->getQueryBuilder()->where("not_finish_tel",$tel)->first();
    }
}